export default {
  "nested": {
    "MmBp": {
      "nested": {
        "EmCmdId": {
          "values": {
            "ECI_none": 0,
            "ECI_req_auth": 10001,
            "ECI_req_sendData": 10002,
            "ECI_req_init": 10003,
            "ECI_resp_auth": 20001,
            "ECI_resp_sendData": 20002,
            "ECI_resp_init": 20003,
            "ECI_push_recvData": 30001,
            "ECI_push_switchView": 30002,
            "ECI_push_switchBackgroud": 30003,
            "ECI_err_decode": 29999
          }
        },
        "EmErrorCode": {
          "values": {
            "EEC_system": -1,
            "EEC_needAuth": -2,
            "EEC_sessionTimeout": -3,
            "EEC_decode": -4,
            "EEC_deviceIsBlock": -5,
            "EEC_serviceUnAvalibleInBackground": -6,
            "EEC_deviceProtoVersionNeedUpdate": -7,
            "EEC_phoneProtoVersionNeedUpdate": -8,
            "EEC_maxReqInQueue": -9,
            "EEC_userExitWxAccount": -10
          }
        },
        "BaseRequest": {
          "fields": {}
        },
        "BaseResponse": {
          "fields": {
            "ErrCode": {
              "rule": "required",
              "type": "int32",
              "id": 1
            },
            "ErrMsg": {
              "type": "string",
              "id": 2
            }
          }
        },
        "BasePush": {
          "fields": {}
        },
        "EmAuthMethod": {
          "values": {
            "EAM_md5": 1,
            "EAM_macNoEncrypt": 2
          }
        },
        "AuthRequest": {
          "fields": {
            "BaseRequest": {
              "rule": "required",
              "type": "BaseRequest",
              "id": 1
            },
            "Md5DeviceTypeAndDeviceId": {
              "type": "bytes",
              "id": 2
            },
            "ProtoVersion": {
              "rule": "required",
              "type": "int32",
              "id": 3
            },
            "AuthProto": {
              "rule": "required",
              "type": "int32",
              "id": 4
            },
            "AuthMethod": {
              "rule": "required",
              "type": "EmAuthMethod",
              "id": 5
            },
            "AesSign": {
              "type": "bytes",
              "id": 6
            },
            "MacAddress": {
              "type": "bytes",
              "id": 7
            },
            "TimeZone": {
              "type": "string",
              "id": 10
            },
            "Language": {
              "type": "string",
              "id": 11
            },
            "DeviceName": {
              "type": "string",
              "id": 12
            }
          }
        },
        "AuthResponse": {
          "fields": {
            "BaseResponse": {
              "rule": "required",
              "type": "BaseResponse",
              "id": 1
            },
            "AesSessionKey": {
              "rule": "required",
              "type": "bytes",
              "id": 2
            }
          }
        },
        "EmInitRespFieldFilter": {
          "values": {
            "EIRFF_userNickName": 1,
            "EIRFF_platformType": 2,
            "EIRFF_model": 4,
            "EIRFF_os": 8,
            "EIRFF_time": 16,
            "EIRFF_timeZone": 32,
            "EIRFF_timeString": 64
          }
        },
        "EmInitScence": {
          "values": {
            "EIS_deviceChat": 1,
            "EIS_autoSync": 2
          }
        },
        "InitRequest": {
          "fields": {
            "BaseRequest": {
              "rule": "required",
              "type": "BaseRequest",
              "id": 1
            },
            "RespFieldFilter": {
              "type": "bytes",
              "id": 2
            },
            "Challenge": {
              "type": "bytes",
              "id": 3
            }
          }
        },
        "EmPlatformType": {
          "values": {
            "EPT_ios": 1,
            "EPT_andriod": 2,
            "EPT_wp": 3,
            "EPT_s60v3": 4,
            "EPT_s60v5": 5,
            "EPT_s40": 6,
            "EPT_bb": 7
          }
        },
        "InitResponse": {
          "fields": {
            "BaseResponse": {
              "rule": "required",
              "type": "BaseResponse",
              "id": 1
            },
            "UserIdHigh": {
              "rule": "required",
              "type": "uint32",
              "id": 2
            },
            "UserIdLow": {
              "rule": "required",
              "type": "uint32",
              "id": 3
            },
            "ChalleangeAnswer": {
              "type": "uint32",
              "id": 4
            },
            "InitScence": {
              "type": "EmInitScence",
              "id": 5
            },
            "AutoSyncMaxDurationSecond": {
              "type": "uint32",
              "id": 6
            },
            "UserNickName": {
              "type": "string",
              "id": 11
            },
            "PlatformType": {
              "type": "EmPlatformType",
              "id": 12
            },
            "Model": {
              "type": "string",
              "id": 13
            },
            "Os": {
              "type": "string",
              "id": 14
            },
            "Time": {
              "type": "int32",
              "id": 15
            },
            "TimeZone": {
              "type": "int32",
              "id": 16
            },
            "TimeString": {
              "type": "bytes",
              "id": 17
            }
          }
        },
        "EmDeviceDataType": {
          "values": {
            "EDDT_manufatureSvr": 0,
            "EDDT_wxWristBand": 1,
            "EDDT_wxDeviceHtmlChatView": 10001
          }
        },
        "SendDataRequest": {
          "fields": {
            "BaseRequest": {
              "rule": "required",
              "type": "BaseRequest",
              "id": 1
            },
            "Data": {
              "rule": "required",
              "type": "bytes",
              "id": 2
            },
            "Type": {
              "type": "EmDeviceDataType",
              "id": 3
            }
          }
        },
        "SendDataResponse": {
          "fields": {
            "BaseResponse": {
              "rule": "required",
              "type": "BaseResponse",
              "id": 1
            },
            "Data": {
              "type": "bytes",
              "id": 2
            }
          }
        },
        "RecvDataPush": {
          "fields": {
            "BasePush": {
              "rule": "required",
              "type": "BasePush",
              "id": 1
            },
            "Data": {
              "rule": "required",
              "type": "bytes",
              "id": 2
            },
            "Type": {
              "type": "EmDeviceDataType",
              "id": 3
            }
          }
        },
        "EmSwitchViewOp": {
          "values": {
            "ESVO_enter": 1,
            "ESVO_exit": 2
          }
        },
        "EmViewId": {
          "values": {
            "EVI_deviceChatView": 1,
            "EVI_deviceChatHtmlView": 2
          }
        },
        "SwitchViewPush": {
          "fields": {
            "BasePush": {
              "rule": "required",
              "type": "BasePush",
              "id": 1
            },
            "SwitchViewOp": {
              "rule": "required",
              "type": "EmSwitchViewOp",
              "id": 2
            },
            "ViewId": {
              "rule": "required",
              "type": "EmViewId",
              "id": 3
            }
          }
        },
        "EmSwitchBackgroundOp": {
          "values": {
            "ESBO_enterBackground": 1,
            "ESBO_enterForground": 2,
            "ESBO_sleep": 3
          }
        },
        "SwitchBackgroudPush": {
          "fields": {
            "BasePush": {
              "rule": "required",
              "type": "BasePush",
              "id": 1
            },
            "SwitchBackgroundOp": {
              "rule": "required",
              "type": "EmSwitchBackgroundOp",
              "id": 2
            }
          }
        }
      }
    }
  }
}